<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="include/header :: header('功能菜单')"></head>
<body>
<div id="dpLTE" class="ui-layout"style="height: 100%; width: 100%;">
    <div class="ui-layout-west">
        <div class="west-Panel">
            <div class="panel-Title">功能目录</div>
            <div id="itemTree"></div>
        </div>
    </div>
    <div class="ui-layout-center">
        <div class="center-Panel">
            <div class="panel-Title">功能信息</div>
            <div class="titlePanel">
                <div>
                    <div class="title-search">
                        <table>
                            <tr>
                                <td style="padding-left: 2px;">
                                    <input id="txt_Keyword" type="text" class="form-control" placeholder="请输入要查询关键字"
                                           style="width: 200px;"/>
                                </td>
                                <td style="padding-left: 5px;">
                                    <a id="btn_Search" class="btn btn-primary"><i class="fa fa-search"></i>&nbsp;查询</a>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div >
                    <div class="toolbar">
                        <div class="btn-group">
                            <a v-if="hasPermission('sx-refresh')" class="btn btn-default" onclick="reload();"><i
                                    class="fa fa-refresh"></i>&nbsp;刷新</a>
                            <a v-if="hasPermission('sx-add')" class="btn btn-default" @click="save"><i
                                    class="fa fa-plus"></i>&nbsp;新增</a>
                            <a v-if="hasPermission('sx-edit')" class="btn btn-default" @click="edit"><i
                                    class="fa fa-pencil-square-o"></i>&nbsp;编辑</a>
                            <a v-if="hasPermission('sx-delete')" class="btn btn-default" @click="remove"><i
                                    class="fa fa-trash-o"></i>&nbsp;删除</a>
                        </div>
                    </div>
                </div>
            </div>
            <div class="gridPanel">
                <table id="gridTable"></table>
                <div id="gridPager"></div>
            </div>
        </div>
    </div>
</div>

<div th:include="include/footer_jqGrid :: footer"></div>
<script th:src="@{/statics/js/authorize/module/list.js}"></script>
</body>
</html>